home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / educate / tran_12.arj / TRAN.DOC next >
Text File  |  1994-03-07  |  5KB  |  130 lines

  1.                             TRAN
  2.  
  3.  
  4. TRAN is a text-to-speech program for the IBM-PC.  It can read ASCII text
  5. files, translate normal English spelling to phonemes, and sound out each
  6. phoneme through the speaker of the IBM-PC. 
  7.  
  8.     usage: tran [+/-flags] [-options] [filename]
  9.  
  10. The filename is an ASCII text file (with no word processor formatting
  11. codes).  If no filename is given TRAN reads input from the keyboard. 
  12. The flags and options control various features of the program.  A '+'
  13. turns the flag on and a '-' turns the flag off.  Options can use either
  14. '+' or '-'. 
  15.  
  16.     flags: + = on, - = off
  17.            p   type output of phoneme translation [off]
  18.            r   add rule no. to phoneme translation [off]
  19.            s   say output [on]
  20.            t   echo input to console [off]
  21.            T   do phoneme translation [on]
  22.            v   type other internal information [off]
  23.  
  24.     options:
  25.            c        say the time of day [once]
  26.            C        say the time of day [every 10 seconds]
  27.           d1 N      use N for space rate timing [5]
  28.           d2 N      use N for voice rate timing [1]
  29.            R        print all pronunciation rules
  30.            ?        type usage
  31.  
  32. The following are example of ways to use the TRAN program.  You can have
  33. tran type out and read this file with the command:
  34.  
  35.     tran +t tran.doc
  36.  
  37. If you also want to see the phoneme translation add the +p flag:
  38.  
  39.     tran +p +t tran.doc
  40.  
  41. You can save the phoneme translation in a file by typing:
  42.  
  43.     tran -s +p tran.doc > tran.phn
  44.  
  45. and listen to the phoneme at some other time file by typing:
  46.  
  47.     tran -T tran.phn
  48.  
  49. The TRAN program will say the time once if you type:
  50.  
  51.     tran +t +c
  52.  
  53. or will continue to say the time every 10 seconds if you type:
  54.  
  55.     tran +t +C
  56.  
  57. There are two timing parameters, d1 and d2, that control the rate that
  58. TRAN speaks.  Making d1 larger increases the pauses between words and
  59. making d2 larger lowers the pitch of the voice phonemes.  Both d1 and d2
  60. must have a value of 1 or greater.  On an IBM-PC/XT, good values for the
  61. timing parameters are d1=2 and d2=1.  If these parameters are not set
  62. explicitly, the program will try to determine acceptable values
  63. automatically.  Setting these values, will let TRAN by-pass the
  64. automatic setting, which save a second or two starting the program. 
  65. These values can be set on the command line:
  66.  
  67.     tran -d1 2 -d2 1 ... 
  68.  
  69. or by using the environment variable TRAN to pass these values as
  70. d1,d2:
  71.  
  72.     set TRAN=2,1
  73.  
  74. On a 10 MHz IBM-PC/AT the timing prarameters need to be larger, d1=4
  75. d2=13. 
  76.  
  77. Most of the speech-to-text rules used in the tran program come from an
  78. article in an IEEE journal:
  79.  
  80. Elovitz, H.S., Johnson, R., McHugh, A., and Shore, J.E.  (1976). 
  81. "Letter-to-Sound Rules for Automatic Translation of English Text to
  82. Phonetics," IEEE Transactions on Acoustics, Speech, and Signal
  83. Processing, Vol.  ASSP-24(6), 446-458. 
  84.  
  85. The program contains a set of 35 phonemes, each encoded as a sequence of
  86. bits controlling the position (in or out) of the PC speaker.  The
  87. phoneme codes come from the public domain program SPEECH by Andy
  88. McGuire. 
  89.  
  90. Send your comments and suggestions to:
  91.  
  92.                                             Stephen Neely
  93.                                             11230 Ohio St. 
  94.                                             Omaha, NE 68131
  95.  
  96.          ----------------end-of-author's-documentation---------------
  97.  
  98.                         Software Library Information:
  99.  
  100.                    This disk copy provided as a service of
  101.  
  102.                         The Public (Software) Library
  103.  
  104.          We are not the authors of this program, nor are we associated
  105.          with the author in any way other than as a distributor of the
  106.          program in accordance with the author's terms of distribution.
  107.  
  108.          Please direct shareware payments and specific questions about
  109.          this program to the author of the program, whose name appears
  110.          elsewhere in  this documentation. If you have trouble getting
  111.          in touch with the author,  we will do whatever we can to help
  112.          you with your questions. All programs have been tested and do
  113.          run.  To report problems,  please use the form that is in the
  114.          file PROBLEM.DOC on many of our disks or in other written for-
  115.          mat with screen printouts, if possible.  The P(s)L cannot de-
  116.          bug programs over the telephone.
  117.  
  118.          Disks in the P(s)L are updated monthly, so if you did not get
  119.          this disk  directly from the P(s)L,  you should be aware that
  120.          the files in this set may no  longer be the current versions.
  121.  
  122.          For a copy of the latest monthly software library newsletter
  123.          and a list of the 1,400+ disks in the library, call or write
  124.  
  125.                         The Public (Software) Library
  126.                               P.O.Box 35705 - F
  127.                            Houston, TX 77235-5705
  128.                                (713) 665-7017
  129.  
  130.